package com.goodmr.passport.webapp.model.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 注册请求数据包
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
@Getter
@Setter
public class SignupReq implements Serializable {

    private static final long serialVersionUID = -5515178346086407346L;

    /**
     * 帐号
     */
    @NotBlank
    private String account;

    /**
     * 密码
     */
    @NotBlank
    private String password;

    /**
     * 验证码
     */
    @NotBlank
    private String code;
}
